<template>
  <div id="app">
    <!-- 占位组件 -->
    <router-view/>
    <div class="tabbar">
      <router-link to="/index">首页</router-link>
      <router-link to="/bao">爆爆团</router-link>
      <router-link to="/order">订单</router-link>
      <router-link to="/mine">我的</router-link>
    </div>
  </div>
</template>

<style lang="scss">
*{
  padding: 0;
  margin: 0;
}
.router-link-active {
  color: red;
}
.tabbar {
    display: flex;
      justify-content: space-around;
      align-content: center;
      padding: 10px 0;
      position: fixed;
      bottom: 15px;
      width: 100%;
      box-sizing: border-box;
      border-top: 1px solid #ccc;
      background-color: #ccc;
}
</style>
